<?php

namespace app;

use albert\services\SystemConfigService;
use albert\utils\Json;
use think\Service;

/**
 * 应用服务类
 */
class AppService extends Service
{
    /**
     * 注册服务
     *
     * Author: Albert3306
     * Date: 2020/12/3
     */
    public function register()
    {
        $this->app
            ->bind('json', Json::class)
            ->bind('sysConfig', SystemConfigService::class);
    }

    /**
     * 启动服务
     *
     * Author: Albert3306
     * Date: 2020/12/3
     */
    public function boot()
    {
    }
}
